package com.bjc.base.dao;

import com.bjc.base.core.IBaseDao;

import java.util.List;

import com.bjc.base.bean.request.BorrowReturnLogReqVO;
import com.bjc.base.bean.response.BorrowReturnLogVO;

/**
 * <p>
  * 绘本归还日志 Mapper 接口
 * </p>
 *
 * @author 许自辉
 * @since 2018-06-10
 */
public interface IBorrowReturnLogDao extends IBaseDao<BorrowReturnLogReqVO, BorrowReturnLogVO> {

	/**
	 * 获取借阅每个绘本种类的数量
	 * @param reqVO
	 * @return
	 */
	List<BorrowReturnLogVO> getBookCountByType(BorrowReturnLogReqVO reqVO);
	
	/**
	 * 获取当前人分享绘本的借阅记录
	 * @param reqVO
	 * @return
	 */
	List<BorrowReturnLogVO> getMyBook(BorrowReturnLogReqVO reqVO);
}